package com.ruoyi.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.business.domain.TVideos;
import com.ruoyi.business.vo.TVideosVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 视频Mapper接口
 *
 * @author user
 * @date 2023-05-06
 */
public interface TVideosMapper extends BaseMapper<TVideos> {

    Page<TVideosVo> queryList(Page<?> page, @Param("entity") TVideosVo entity);

    List<TVideosVo> queryList(@Param("entity") TVideosVo entity);

    TVideosVo queryById(@Param("id") Long id);

}
